<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<link href="css/layout.css" rel="stylesheet" type="text/css" />

		<link href="css/bootstrap.min.css" rel="stylesheet">
		<!-- Font Awesome -->
		<link href="css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
		<!-- NProgress -->
		<link href="css/nprogress/nprogress.css" rel="stylesheet">
		<!-- Custom Theme Style -->
		<link href="css/custom.min.css" rel="stylesheet">
	</head>

	<body>
		<!--背景-->
		<div class="background"><img src="images/bg1.jpg" alt="" />
			<div class="logo"></div>
		</div>
		<!--主内容开始-->
		<div id="container">
			<div id="head">
				<a href="#" class="arrange" id="arrange"></a>
				<div class="yij"><a href="#">医院新闻管理</a></div>
				<div class="h-right">
					<a href="index.html" class="home"></a>
					<img src="images/line.png" width="2" height="50" alt="" />
					<a href="#" class="cloud" id="cloud">
						<div class="same">云同步</div>
					</a>
					<img src="images/line.png" width="2" height="50" alt="" />
					<a href="#" class="bell"><span class="tip">3</span></a>
					<img src="images/line.png" width="2" height="50" alt="" />
					<div class="user">
						<div class="pho"><img src="images/photo.jpg" width="52" height="50" alt="" /></div>
						<span id="name">张末末
							<div class="user-info" id="twodm">
								<div class="jtt"></div>
								<div class="menu">
									<div class="first">
										<a href="#">个人信息</a>
									</div>
									<div class="second">
										<a href="#">通知<em>3</em></a>
									</div>
									<a href="#" class="quit">退出</a>
								</div>
							</div>
						</span>

					</div>
					<img src="images/line.png" width="2" height="50" alt="" />
					<a href="#" class="notice" id="notice"></a>
				</div>
			</div>


			<div class="nav-md">
				<div class="container body">
					<div class="main_container">
						<!-- page content -->
						<div class="right_col" role="main">
							<div class="row">
								<div class="col-md-12 col-sm-12 col-xs-12">
									<div class="x_panel">
										<div class="x_title">
											<h2>
												新闻新增信息 <i class="fa fa-user"></i><small>当前操作用户：</small>
											</h2>
											<div class="clearfix"></div>
										</div>
										<div class="x_content">
											<div class="clearfix"></div>
											<form class="form-horizontal form-label-left" action="newsServlet?action=newsadd" enctype="multipart/form-data" method="post">
												<div class="item form-group">
													<label class="control-label col-md-3 col-sm-3 col-xs-12" for="ntitle">新闻标题<span class="required">*</span>
													</label>
													<div class="col-md-6 col-sm-6 col-xs-12">
														<input id="ntitle" class="form-control col-md-7 col-xs-12" data-validate-length-range="20"
														 data-validate-words="1" name="ntitle" required="required" placeholder="请输入新闻标题" type="text">
													</div>
												</div>
												<div class="item form-group">
													<label class="control-label col-md-3 col-sm-3 col-xs-12" for="nsummary">新闻摘要<span class="required">*</span>
													</label>
													<div class="col-md-6 col-sm-6 col-xs-12">
														<textarea id="nsummary" name="nsummary" rows="5" cols="20" class="form-control col-md-7 col-xs-12"
														 placeholder="请输入新闻摘要"></textarea>
													</div>
												</div>
												
												<div class="item form-group">
													<label class="control-label col-md-3 col-sm-3 col-xs-12" for="nauthor">发布人<span class="required">*</span>
													</label>
													<div class="col-md-6 col-sm-6 col-xs-12">
														<input id="nauthor" name="nauthor" class="form-control col-md-7 col-xs-12" data-validate-length-range="20"
														 data-validate-words="1" required="required" placeholder="请输入发布人名" type="text">
													</div>
												</div>
												<div class="item form-group">
													<label class="control-label col-md-3 col-sm-3 col-xs-12" for="ncontent">新闻内容<span class="required">*</span>
													</label>
													<div class="col-md-6 col-sm-6 col-xs-12">
														<textarea class="ckeditor" id="ncontent" name="ncontent" rows="5" cols="20" class="form-control col-md-7 col-xs-12"></textarea>

													</div>
												</div>
												<div class="item form-group">
													<label class="control-label col-md-3 col-sm-3 col-xs-12" for="newsimg">新闻图片<span class="required">*</span>
													</label>
													<div class="col-md-6 col-sm-6 col-xs-12">
														<input id="newsimg" name="newsimg" type="file" class="form-control col-md-7 col-xs-12">
													</div>
												</div>
												<div class="ln_solid"></div>
												<div class="form-group">
													<div class="col-md-6 col-md-offset-3">
														<button id="send" type="submit" class="btn btn-success">发布</button>
														<button type="button" class="btn btn-primary" id="back">返回</button>
														<br />
														<br />
													</div>
												</div>
											</form>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- /page content -->

				</div>



			</div>
		</div>
		</div>
		</div>
		<!--消息弹窗-->
		<div class="pop" id="pop">
			<div class="pop_tit">
				<div class="lingd"><a href="#">欢迎进入发布新闻界面</a></div>
				<a class="popClose" id="popClose" title="关闭"></a>
			</div>
			<div class="pop_con">
				<p>欢迎 *** 登录</p>
				<div class="icon_btn">
					<a href="#" class="see-btn">
						<span>查看诊断报告<em>查看诊断报告</em></span>
					</a>
				</div>
			</div>
		</div>

		<!--主内容结束-->
	</body>

	<script src="js/jquery-1.7.1.min.js" language="javascript" type="text/javascript"></script>
	<script src="js/jquery.mousewheel.js" type="text/javascript"></script>
	<script src="js/jquery.jscrollpane.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/jquery.event.drag-1.5.min.js"></script>
	<script type="text/javascript" src="js/jquery.touchSlider.js"></script>
	<script type="text/javascript" src="js/jquery.nicescroll.js"></script>
	<script type="text/javascript" src="js/yanue.pop.js"></script>
	<script src="js/slide.js" language="javascript" type="text/javascript"></script>

	<!--jquery右下角pop弹窗start -->
	<script type="text/javascript">
		//记得加载jquery
		//使用参数：1.标题，2.链接地址，3.内容简介
	</script>
</html>
